package com.drama.api.company.company.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(description = "接收参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class CompanyLoginReqVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "用户名")
    @NotNull(message = "用户名不能为空")
    private String loginName;
    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;
}
